Saltstack and ipa-install on Centos7 failing
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hallo,
Could someone please lend a hand with this issue?
https://www.redhat.com/archives/freeipa-users/2015-March/msg00345.html
When I run ipa-server-install from Saltstack it is breaking. I imagine this is because the script is being run in an unexpected domain (init_t rather than unconfined_t).
Thanks,
Andrew
-----BEGIN PGP SIGNATURE-----
iQIcBAEBAgAGBQJVAx1ZAAoJEMFRZbkg22K+A2QP/3qXIw6EKuklLhDPGh81TWjA DuLF3nvvEq/50XFFPNNceUFCs4vST8EUYTX0S968wy6v7R1oAb398wQOQrWUR2LR mSxYQEv7Pk1aqxAraBUDk/qxgYn/Mztsz4xh/F+Wsh+EWMN+CN/hueuU9CAAD9VA ZJax9FO+9GjwHj688ZidHQPJyBh4QTTU0mIB3dGmBhFZ1rdOraIGgbMD5P9j6ltV uX/3p8hr61irBcvWb9caVLS/kBlcFWHHLSQhMYM4wibNxYPgKB9fWYsLexPTPVRm DizR098vXahtmVHbCV0Cyaixq9uifSZc5UZfXiphjeooIme9jTEV8R75f2NzSHRv ulOJBzok2lCovtnE492BP/7SFdEH3Yttgg71mXG0cW7ozJLwcuKnEm1loWJ/4KXx 7u3wf7yeeOjakaE51wVrz/a47vtWdlNDbkHe1WFvb3MSmJby13xRc6km+Cd0Nw10 l1d97/renCRiDjXqNa0xwCiRp76WrxCJ0FLIkm9MD7c0/pKj1YZ0mpRCM9eobutH FZOXkiprOCvq6N4L24nYccGQC1pdQM91GIU3bM/bpAIP/v6P/bBaNBo8BGS0faTj l1KPeCdU+novZojpCEnQPkq7WIUivKDt/Ni5ORXiF2G10iNzpOMd51AuavkzvtIi TMIrEYiVHhMjCeruuGpQ
=2xyi
-----END PGP SIGNATURE-----
Quoted 9 lines · Andrew Holway
Hallo,
Could someone please lend a hand with this issue?
https://www.redhat.com/archives/freeipa-users/2015-March/msg00345.html
When I run ipa-server-install from Saltstack it is breaking. I imagine this is because the script is being run in an unexpected domain (
init_trather thanunconfined_t).
How is it launched? How much control do you have over how it is launched? If you can just modify its init script or unit file or whatever, you could either have it invoke runcon with an explicit context to run in the desired context or put the launch command in a script file and label it with an appropriate _exec_t type to transition automatically into the desired domain. That said, neither initrc_t nor unconfined_t are particularly desirable domains; it should really have its own domain.
What label is on the script? unconfined_t is a user type init_t is an executable being run from init.
Quoted 10 lines · Andrew Holway
Hallo,
Could someone please lend a hand with this issue?
https://www.redhat.com/archives/freeipa-users/2015-March/msg00345.html
When I run ipa-server-install from Saltstack it is breaking. I imagine this is because the script is being run in an unexpected domain (
init_trather thanunconfined_t).
Quoted 8 lines
Thanks,
Andrew
_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected]. To get help, send an email containing "help" to
Quoted 2 lines
Quoted 1 line · Daniel J Walsh
What label is on the script?
unconfined_tis a user typeinit_tis an executable being run from init.
Yes, what is a label for /usr/sbin/ipa-server-install on your system?
You should see it running as init_t on Centos7. We have unconfined_service_t on RHEL7.1.
Quoted 31 lines · Andrew Holway
Quoted 10 lines
Hallo,
Could someone please lend a hand with this issue?
https://www.redhat.com/archives/freeipa-users/2015-March/msg00345.html
When I run ipa-server-install from Saltstack it is breaking. I imagine this is because the script is being run in an unexpected domain (
init_trather thanunconfined_t).Quoted 8 lines
Thanks,
Andrew
_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected]. To get help, send an email containing "help" toQuoted 2 lines
_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].